package com.lmaye.design.patterns.ood.isp.example;

/**
 * -- A
 * - 使用了接口的 1、2、3 方法
 *
 * @author lmay.Zhou
 * @date 2020/11/12 12:15 星期四
 * @qq 379839355
 * @email lmay@lmaye.com
 * @since JDK1.8
 */
public class A {
    public void operation1(Interface1 interface1) {
        interface1.operation1();
    }

    public void operation2(Interface1 interface1) {
        interface1.operation2();
    }

    public void operation3(Interface1 interface1) {
        interface1.operation3();
    }
}
